package com.itheima.service;

import com.itheima.dto.OrderDto;
import com.itheima.entity.Orders;
import com.itheima.entity.Page;

public interface OrdersService {
    void submit(Orders orders, long userId);

    Page<Orders> page(Integer page, Integer pageSize, String number, String beginTime,String endTime);

    Page<OrderDto> userPage(Integer page, Integer pageSize, Long userId);

    OrderDto again(OrderDto orderDto);

}
